import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
Vue.use(uView);
//配置全局api
import $api from "./common/thcommon.js";
Vue.prototype.$api = $api;

//config http 配置文件管理
import config from './common/config.js'
Vue.prototype.$config = config;

//config http 配置文件管理
import http from './common/request.js'
Vue.prototype.$http = http;

import utils from './common/utils.js'
Vue.prototype.$loding = utils;

//时间过滤
import * as custom from './common/filter.js'
Object.keys(custom).forEach(key => {
	Vue.filter(key, custom[key])
})

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
